home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / mgetty_sendfax-vgetty < prev    next >
Encoding:
Text File  |  1995-04-11  |  47.7 KB  |  1,205 lines

  1. Archive-name: fax-faq/mgetty+sendfax+vgetty
  2. Last-modified: 11 January 1995
  3.  
  4.               ``mgetty+sendfax''
  5.         Answers to Frequently-Asked Questions
  6.        regarding Gert Doering's Fax-enabled getty replacement,
  7.         with Klaus Weidner's voice extensions
  8.  
  9.                  Steven Work
  10.              steve@work.bellingham.wa.us
  11.  
  12. ------------------------------
  13.  
  14. Subject: Introduction
  15.  
  16. This document attempts to answer the most frequently asked questions
  17. about mgetty+sendfax/vgetty, Gert Doering's fax-enabled getty
  18. replacement with Klaus Weidner's voice processing extensions.  
  19.  
  20. ------------------------------
  21.  
  22. Subject: Table of Contents
  23.  
  24. Part I: "Deciding whether to use it" questions
  25.  What is it?
  26.  What does it look like when it runs?
  27.  What do I need to use mgetty+sendfax/vgetty?
  28.  What other software do I need?
  29.  What terms cover my use of mgetty+sendfax/vgetty?
  30.  Where can I get mgetty+sendfax?
  31. Part 2: Other questions
  32.  How can I contact mgetty users and developers?
  33.  What image file formats can sendfax send?
  34.  Why doesn't mgetty accept other file formats besides G3?
  35.  Why doesn't mgetty use the modem's autoanswer capabilities?
  36.  Why mgetty ignores /dev/tty* dialin, /dev/cua* dialout conventions:
  37.  Troubleshooting questions & answers
  38.  My ZyXEL doesn't work right after a ROM upgrade: What's wrong?
  39. Part 3: Compatibility Issues
  40.  modems.db -- modem compatibility list
  41.  Suspicious fax machines
  42.  
  43. ---------------------------
  44.  
  45. Subject: Part I: "Deciding whether to use it" questions
  46.  
  47. ------------------------------
  48.  
  49. Subject:  What is it?
  50. From: steve@work.bellingham.wa.us (Steve Work)
  51.  
  52. Mgetty+sendfax is a collection of programs to send and receive
  53. faxes in a unix environment using a class 2 faxmodem.  vgetty is an
  54. extension to mgetty, distributed with it, that implements incoming
  55. voice call handling for certain voice-capable modems, notably the
  56. ZyXEL.
  57.  
  58. More specifically, the program `mgetty' allows you to use a class 2
  59. fax modem for receiving faxes and handling external logins without
  60. interfering with outgoing calls.  `sendfax' is a standalone program
  61. which sends fax files.  `vgetty' is an extended version of mgetty
  62. that can answer the telephone like an answering machine and record
  63. a voice-mail message (if it finds one), or perform `mgetty's fax or
  64. data call handling otherwise.  The mgetty+sendfax distribution
  65. includes vgetty and a good-sized gob of utility programs that help
  66. you manage faxes and voice messages.
  67.  
  68. ------------------------------
  69.  
  70. Subject:  What does it look like when it runs?
  71. From: steve@work.bellingham.wa.us (Steven Work) and the distribution
  72. CC: clewis@ferret.ocunix.on.ca (Chris Lewis)
  73.  
  74. Like a smarter `getty'.  getty is the program that manages the
  75. first step of the login procedure on a Unix computer; when used
  76. with a modem, it watches for an incoming call and (ordinarily)
  77. prints the "login:" prompt (and reads the username, and passes off
  78. to "login").
  79.  
  80. Unlike traditional versions of getty or uugetty, which will put a
  81. modem into auto-answer mode, mgetty does not.  When an incoming call
  82. occurs, mgetty sees the "RING"s when they occur.  When they do occur,
  83. mgetty tells the modem to answer, and the modem will tell mgetty what
  84. kind of connection happens.  If it is FAX, mgetty will receive the
  85. FAX.  If data, mgetty prompts for a userid, then hands the open line
  86. off to login for a normal data login.
  87.  
  88. Note that it's the modem's job to distinguish a FAX call from a data
  89. call.  Not all fax modems can do this, and if yours _can't_ there is no way
  90. for mgetty to do this for it.  mgetty can be used with modems that
  91. cannot distinguish a fax call from a data call, but you must tell it
  92. ahead of time what type of call to expect.
  93.  
  94. mgetty is also configurable to select programs other than login for
  95. special connections (eg: uucico, fido or other programs) depending
  96. on the login userid.
  97.  
  98. mgetty also supports caller-id and can deny connections based on
  99. originating telephone number.
  100.  
  101. vgetty is an extension to mgetty that works with voice-capable
  102. modems to provide additional call-handling capabilities.  When the
  103. modem reports a RING, vgetty has the modem pick up the line and
  104. play a voice message (the greeting).  Then, as for mgetty, the
  105. modem reports the connection type.  If it hears "noises" it can't
  106. identify (like your mother's voice) it reports a voice connection
  107. and vgetty records the noise as an incoming voice message.  If the
  108. modem reports that it identifies a fax tone, vgetty acts like
  109. mgetty and receives a fax (or answers a poll).
  110.  
  111. If instead the modem hears nothing following the greeting (a
  112. certain level of silence that continues for a certain number of
  113. seconds) it assumes the caller is a data modem and attempts a data
  114. connection.
  115.  
  116. vgetty implements the normal answering-machine functions of
  117. remote message playback as well; its operation is driven from shell
  118. scripts, so you can extend it to a full voice-mail jail if you
  119. wish.  (This description of voice modem behavior applies to the
  120. ZyXELs; I [steve@work.bellingham.wa.us] assume other voice modems
  121. are similar.)
  122.  
  123. vgetty is intended for people who want to share a phone line for
  124. data and voice use, with the main focus being voice calls. It is
  125. *NOT* intended for a dialup system that occasionally gets a voice
  126. call, since some modems are confused by hearing a recorded voice
  127. message and won't connect.
  128.  
  129. Note that the voice extensions are maintained by Klaus Weidner
  130. (klaus@snarc.greenie.muc.de), so direct questions about them to
  131. that address. 
  132.  
  133. More from the distribution (some edits):
  134.  
  135. This is what you can do with `sendfax' if you have a standard class
  136. 2 fax modem:
  137.  
  138. * send faxes directly or using shell scripts (easily integrated into
  139.   other applications).
  140.  
  141. * do "fax polling", this means you can call the weather station and
  142.   get them to send you a fax containing the current weather map.
  143.   (Not all modem manufacturers implement this feature in their
  144.   modems!)
  145.  
  146. * create a "fax queue", outgoing faxes get sent automatically, the
  147.   user is informed by mail about the result.
  148.  
  149. `mgetty' allows you to use a single modem line for receiving calls
  150. and dialing out.
  151.  
  152. * `mgetty' knows about "smart" modems, and will make sure that the
  153.   modem is always in a defined state (specific modem initialization
  154.   possible)
  155.  
  156. * Incoming calls are answered manually (`RING' -> `ATA' ->
  157.   `CONNECT') instead of using auto-answer (`ATS0=1'), this way the
  158.   modem won't pick up the phone when the machine is down or logins
  159.   are not allowed.
  160.  
  161. * mgetty completely replaces getty and/or uugetty.  Like uugetty,
  162.   supports lock files in a fashion compatible with almost all known
  163.   versions of UUCP (HDB/BNU, SVR4, V7, Taylor in various flavours).
  164.   uugetty has some features mgetty doesn't support; see "How does
  165.   mgetty differ from uugetty?" below.
  166.  
  167. * mgetty supports System V style gettydefs terminal configurations.
  168.  
  169. * mgetty can receive class 2 faxes (if your modem supports it).
  170.  
  171. * mgetty knows about incoming FidoNet calls.
  172.  
  173. * mgetty has extensive logging / debugging features
  174.  
  175. * do "fax poll sending", that is, you can setup your machine as fax
  176.   poll server, to send some fax pages to "fax poll" callers. (Send
  177.   informations about your system, the current wheather map, ...). Be
  178.   warned, even less modems support this feature.
  179.  
  180. * mgetty can selectively refuse calls based upon CallerID, if your
  181.   modem supports it, and you're subscribed to the service. CallerID
  182.   is also logged.
  183.  
  184. * mgetty has facilities to allow you to refuse incoming FAXes when
  185.   available disk space is low.
  186.  
  187. vgetty inherits most of mgettys features, and offers some additional
  188. ones:
  189.  
  190. * behaves like a normal answering machine for human callers
  191.  
  192. * automatic fax reception when a T.30 calling tone is detected
  193.  
  194. * If the caller isn't a human or fax, a data connect is attempted,
  195.   if this is successful, the caller will get a normal login
  196.  
  197. * does not interfere with dialouts
  198.  
  199. * remote playback of messages via a DTMF code
  200.  
  201. * toll saver -- if there are new messages, pick up the phone
  202.   earlier, this way you can hang up in time to avoid a useless call
  203.  
  204. * message light - the autoanswer LED of your modem (if it has one)
  205.   is turned on if there are new messages
  206.  
  207. * easy playback - on some modems, you can play back the new messages
  208.   just by pressing DATA/VOICE
  209.  
  210. * speech synthesizer support - add the date and time to messages
  211.   (not included by default)
  212.  
  213. * voice conversion utilities - play messages on /dev/audio
  214.  
  215. ------------------------------
  216.  
  217. Subject:  What do I need to use mgetty+sendfax/vgetty?
  218. From: steve@work.bellingham.wa.us (Steve Work), and distribution
  219. CC: clewis@ferret.ocunix.on.ca (Chris Lewis)
  220.  
  221. Several things.  A computer running some (most) variants of the Unix
  222. operating system.  (The operating system must support termio.h or
  223. termios.h; this generally rules out "pure BSD" systems.)  For support
  224. of dial-in data connections (a la "getty"), you need a modem (probably
  225. one somewhat compatable with the H*yes "AT" command set).  For sending
  226. and receiving faxes, you need a modem that understands the Class 2 (or
  227. 2.0) fax command set.  For voice processing, you need a modem that is
  228. capable of doing voice.  
  229.  
  230. The ZyXEL family of modems is fully supported; the Dolphin and Zoom
  231. modems are supported less completely.  In particular, the voice data
  232. format used by the Dolphin and Zoom modems is considered proprietary
  233. by Rockwell, the manufacturer of the chipset used in these modems.
  234. Gaining access to the internal format of the voice files used and
  235. created by the Rockwell-chip voice modems would require signing a
  236. non-disclosure agreement, and that in turn would prevent the source
  237. code from being freely-distributable.  vgetty can record and playback
  238. Rockwell-chip voice files through the Rockwell-based modem, but no
  239. manipulation or translation of these voice files is possible at this
  240. time.
  241.  
  242. Mgetty has been successfully installed and run on the following
  243. systems:
  244.  
  245.       SCO Unix 3.2.1 (ODT 1.0)                    (very well tested)
  246.       SCO Unix 3.2.4 (ODT 2.0 + 3.0)              (very well tested)
  247.       Linux 0.99pl1 .. 1.0                        (very well tested)
  248.       ISC Unix 3.0                                (tested)
  249.       SVR4 Unix                                   (well tested)
  250.       AT&T 3B1 3.51m                              (well tested)
  251.       HP-UX 8.x                                   (well tested)
  252.       AIX                                         (mgetty, not vgetty)
  253.       SunOS 4.1.1                                 (well tested)
  254.       NetBSD / FreeBSD                            (works)
  255.       BSDI v1.1                                   (under work, not done --
  256.                                                          greg@wwa.com)
  257.  
  258. It should be possible to run mgetty on any other Unix with
  259. `termio.h' or `termios.h'. For best results, `select(S)' or
  260. `poll(S)' are recommended, but there's a workaround. (Warning: for
  261. Unix SVR3.1 or earlier, *do not use poll()*, it will not work on
  262. tty devices.) 
  263.  
  264. Up to now, it has been successfully used with the following modems
  265. (no exhaustive list): 
  266.  
  267.       ZyXEL U1496
  268.     (very well tested.  With some ROM versions, one or another
  269.     function is not working.  ROM 6.12 works great)
  270.  
  271.       SupraFAX v32bis
  272.         (tested, works well, no fax polling available, no voice)
  273.   
  274.       GVC FM144/+
  275.       (tested, works well, no fax polling available, no voice)
  276.   
  277.       TKR DM-24VF+ (Deltafax)
  278.       (tested, works quite well, dunno about polling, no voice)
  279.  
  280. Mgetty *should* work with all class 2 faxmodems. Maybe the DC2
  281. character sent at the beginning of a page by `faxrec.c' must be
  282. changed to XON, for old class 2 modems (implementing very old drafts
  283. of the standard).  Unfortunately, each class 2 modem can be a tiny bit
  284. different.  
  285.  
  286. Gert says, however: "Most modems worked "more-or-less", found only one
  287. that didn't work *at all*. [...]  `Class 2.0' is the official
  288. standard [and all "class 2.0" modems should work well with mgetty.]
  289. The only ``modem difference'' so far is that USR implemented it in a
  290. broken fashion, to behave similarily to all the (broken! all of them
  291. are!) class 2 modems. ("REVERSE")
  292.  
  293. The rest of this section is a more complete list of modems together
  294. with comments and the policy.h settings required to make them work:
  295.  
  296. Modem brand/model:     "Dynalink 9624AP"
  297. at+fmfr?        EXAR
  298. at+fmdl?        9648,2,E,290X
  299. at+frev?        10, 10, 92   REVISION  X 2.0
  300. ati3            ADN-06
  301. ati4            MARROW 2900KSX V2.0B 11-05-1992
  302. tested on:        linux 0.99p10
  303. working:        sendfax, mgetty(?)
  304. remarks: avoid this cheap and nasty modem if you possibly can. It needs:
  305.          delay(500) at the end of fax_open_device(), sendfax.c line 111
  306.          delay(500) after the call to fax_send_page(), sendfax.c line 533
  307.          "\d\d\d" in all the AT-commands in init_chat_seq, mgetty.c
  308. contributor:        a.j.scholl@durham.ac.uk
  309. #define DATA_FLOW    FLOW_HARD
  310. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  311. #define FAXSEND_FLOW    FLOW_HARD 
  312. #define FAX_SEND_BAUD     B19200
  313. #define FAX_MODEM_HANDSHAKE ""
  314. #define FAX_SET_CSTOPB    1        /* for when you've added this option :-) */
  315. ----------------------------------------------------
  316. Modem brand/model:     "Zoltrix Platinum Series 14.4"
  317. at+fmfr?        ROCKWELL
  318. at+fmdl?        RC32ACL
  319. at+frev?        V1.410-AP39
  320. ati3            
  321. ati6            RCV144DP; Rev CA
  322. tested on:        linux 0.99p7
  323. working:        mgetty, sendfax
  324. remarks:                great modem! In my uucp network of 16 machines,
  325.             this modem averages at 1700 bps, while other
  326.             brand name modems such as the Trailblazer PEP
  327.             maxes out at about 1570. 
  328. contributor:        whome!light-house!las@planix.com
  329. #define DATA_FLOW    FLOW_HARD
  330. #define FAX_COMMAND_DELAY 50
  331. #define FAXREC_FLOW    FLOW_SOFT
  332. #define FAXSEND_FLOW    FLOW_SOFT
  333. #define FAX_SEND_BAUD B38400
  334. #define FAX_MODEM_HANDSHAKE "&K3"
  335. #define MODEM_INIT_STRING    "ATS0=0V1Q0&D3&K3%C1W1"
  336. ----------------------------------------------------
  337. Modem brand/model:      PCMCIA Modem HOTLINE 960 CC HL9672CC
  338. AT+FMFR?                HOTLINE
  339. AT+FMDL?                Handy 9672 CC
  340. AT+FREV?                Version 1.03H
  341. ATI3                    V1.03DP
  342. ATI4                    Handy 9672 CC H1_103
  343. AT+FDCC=?               (0,1),(0-3),(0-2),(0-2),(0,1),0,0,(0-7)
  344. tested on:              OS: Linux, Kernel: 1.0, Distribution: Slackware 1.2.0
  345.             Computer: Toshiba T4700C Notebook
  346. working:                sendfax, mgetty
  347. contributor:            lauther@zfe.siemens.de
  348. remarks:                can only do 9600 bps
  349.  
  350. #define DEFAULT_PORTSPEED       B19200
  351. #define MODEM_INIT_STRING       "ATS0=0Q0&D3&K3"
  352. #define MODEM_CMD_SUFFIX        "\r"
  353. #define DO_CHAT_SEND_DELAY      50
  354. #define FAX_COMMAND_DELAY       50
  355. #define DATA_FLOW               FLOW_HARD
  356. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  357. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  358. #define FAX_SEND_BAUD           B19200
  359. #define FAX_MODEM_HANDSHAKE     "&K3"
  360. ----------------------------------------------------
  361. Modem brand/model:      Creatix (1&1) Polimedia 14400 voice / fax modem
  362. AT+FMFR?                ???
  363. AT+FMDL?                ???
  364. AT+FREV?                ???
  365. ATI0            14400
  366. ATI1            007
  367. ATI3            V1.400/T4-DS29F
  368. ATI4            Creatix Polymedia GmbH V1.41 29/11/93
  369. ATI6            RCV144DPi Rev CA
  370. AT+FDCC=?               (0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)
  371. tested on:              ???
  372. working:                sendfax, mgetty
  373. contributor:            andreas@malcolm.in-chemnitz.de
  374.  
  375. #define DEFAULT_PORTSPEED    B38400
  376. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&K6"
  377. #define MODEM_CMD_SUFFIX    "\r"
  378. #define DO_CHAT_SEND_DELAY    50
  379. #define FAX_COMMAND_DELAY    50
  380. #define DATA_FLOW           FLOW_HARD
  381. #define FAXREC_FLOW         FLOW_HARD | FLOW_SOFT
  382. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  383. #define FAX_RECEIVE_USE_B19200
  384. #define FAX_SEND_BAUD         B19200
  385. #define FAX_MODEM_HANDSHAKE    "&K6"
  386. ----------------------------------------------------
  387.  
  388. ------------------------------
  389.  
  390. Subject:  What other software do I need?
  391. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  392. CC: gert@greenie.muc.de (Gert Doering)
  393.  
  394. For data only, no other software is needed.
  395.  
  396. mgetty itself can only send or receive G3 (raster) format.  However,
  397. the distribution includes tools to convert raw G3 files to or from the
  398. format used by "pbmplus", the Portable Bitmap Toolkit.  The pbmplus
  399. formats support (or are supported by) most raster-image programs and
  400. file formats generally used in the Unix world.  pbmplus is available
  401. at this URL (among others): 
  402.  
  403.   ftp://sunsite.unc.edu/pub/X11/contrib/pbmplus10dec91.tar
  404.  
  405. The mgetty+sendfax distribution contains a patch to fix pbmplus's
  406. broken pbmtog3 converter -- using the unpatched pbmtog3 can cause
  407. errors during transmission.
  408.  
  409. GhostScript, the free Postscript page description language
  410. interpreter, can convert PostScript to G3.  Ghostscript is available
  411. at this URL (among others): 
  412.  
  413.   ftp://sunsite.unc.edu/pub/gnu/applications/ghostscript-2.6.1.tar.gz
  414.      (also check out patch files in same directory.)
  415.  
  416. Hp2pbm, available from ftp:// ??, can convert text and PCL (HP
  417. Laserjet language) to G3 or PBM.  It also contains programs for
  418. converting PBM to PostScript, PCL and Epson printers.
  419.  
  420. PBMPLUS has converters from most existing raster formats or ASCII
  421. to PBM, and from PBM to most raster formats.  You'd use the pbmtog3
  422. and g3topbm utilities in mgetty to convert between PBM and G3.
  423.  
  424. In essence, you can run with hp2pbm or PBMPLUS alone.  With GhostScript,
  425. you also need PBMPLUS or hp2pbm to convert ASCII (used for page headers
  426. etc.) to G3.
  427.  
  428. For voice you need no other software, although utilities to convert to
  429. and from the ZyXEL voice format can be handy.  This is especially true
  430. if you have audio output available besides the modem itself.
  431.  
  432. mgetty+sendfax includes some ZyXEL voice processing utilities in the
  433. voice/ subdirectory.  These can translate ZyXEL voice files to and
  434. from Sun-AU (/dev/audio), Soundblaster, some other formats.
  435.  
  436. ------------------------------
  437.  
  438. Subject:  What terms cover my use of mgetty+sendfax/vgetty?
  439.  
  440. >From the distribution:
  441.  
  442. "The mgetty+sendfax package is Copyright (c) 1993 Gert Doering. You
  443. are permitted to do anything you want with this program -
  444. redistribute it, use parts of the code in your own programs, ...,
  445. but you have to give me credit - do not remove my name.
  446.  
  447. "If the program works for you, and you want to honour my efforts,
  448. you are invited to donate as much as you want.
  449.  
  450. "If you make money with mgetty, I want a share. What I mean by that
  451. is: it's perfectly OK with me to get paid for mgetty installation
  452. or support, but if you want to actually sell mgetty, or pack mgetty
  453. with a modem and sell it as "unix fax package", contact me first.
  454.  
  455. "*WARNING:* This package is still BETA software. Use it at your own
  456. risk, there is *no* warranty. If it erases all the data on your
  457. hard disk, damages your hardware, or kills your dog, that is
  458. entirely your problem. Anyway, the program works for me and quite a
  459. lot of other people."
  460.  
  461. ------------------------------
  462.  
  463. Subject:  Where can I get mgetty+sendfax?
  464.  
  465. The official release sites are these URLs:
  466.  
  467.   ftp://sunsite.unc.edu/pub/Linux/system/Serial/mgetty+sendfax*
  468.   ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/... (or so)
  469.  
  470. You can certainly find them elsewhere.  The last time this paragraph
  471. was updated, the most recent full release was 0.20.
  472.  
  473. The most recent _test_ release is generally available at this URL:
  474.  
  475.    ftp://ftp.informatik.tu-muenchen.de:/tmp/mgetty*.tar.gz
  476.  
  477. ------------------------------
  478.  
  479. Subject: Part 2: Other questions
  480.  
  481. ------------------------------
  482.  
  483. Subject:  How can I contact mgetty users and developers?
  484. From: steve@work.bellingham.wa.us
  485.  
  486. (Suggested by Steve Wampler)
  487.  
  488. A mailing list exists.  To subscribe to the list, send mail to
  489. mgetty-request@muc.de (I believe the list is maintained by hand, so
  490. you'll need to ask to join.)  To send mail to every one of the dozens
  491. of people on the list, send to mgetty@muc.de.  DON'T send subscription
  492. requests to mgetty@muc.de -- many people will write back telling you
  493. to use mgetty-request for administrative messages.
  494.  
  495. The volume on mgetty@muc.de varies from one or two messages a week to
  496. ten or so a day, depending on development activity.
  497.  
  498. ------------------------------
  499. Subject:  What image file formats can sendfax send?
  500. From:    gert@greenie.muc.de (Gert Doering)
  501.  
  502. Fax input format:
  503.  
  504.    raw G3 data (according to CCITT standard T.4, 1-dimensionally
  505.    compressed). Can be created by GhostScript's "dfaxhigh" or "dfaxlow"
  506.    drivers (they will create raw G3 data with a 64 byte header, that
  507.    sendfax + g3cat + g3topbm will recognize and skip) or by the "pbmtog3"
  508.    program.
  509.    Warning: the pbmtog3 program from the "pbmplus" distribution does *not*
  510.    create valid G3 data according to T.4, to be precise, the lines are
  511.    shorter than 1728 pixels and the leading EOL code is missing. To fix
  512.    it, use the patch that is provided in "patches/pbmtog3.p1". Even
  513.    better, use my own utility. (The patch is *NOT* needed for my pbmtog3
  514.    program!).
  515.    Use of a unpatched pbmtog3 will most likely cause +FHNG:50 or +FHNG:54
  516.    error codes.
  517.  
  518.    Do not use "tiff-G3" data as input. Though the data itself is G3 encoded,
  519.    it's wrapped into a complex layer of TIFF headers that would
  520.    require non-trivial parsing that's simply not needed for sendfax.
  521.    Faxing a TIFF file will result in a warning message from sendfax, and,
  522.    most likely, in a failed transmission.
  523.  
  524.  
  525. Fax output format:
  526.  
  527.    The files that mgetty places into FAX_SPOOL_IN are in the same format
  528.    as the files that sendfax wants to send, raw G3 data as of CCITT T.4.
  529.    To convert them to "pbm", use the g3topbm program. To convert them to
  530.    X-Windows xwd format, use the "contrib/g3toxwd" program.
  531.  
  532.    If the files are received without transmission errors, it is possibly
  533.    to send received fax files without any additional conversion. Since
  534.    some modems insert filling zero-bits, a run through "g3cat" is
  535.    recommended anyway, this will remove any surplus stuff, and clean up
  536.    garbled lines.
  537.  
  538. ------------------------------
  539.  
  540. Subject:  Why doesn't mgetty accept other file formats besides G3?
  541.  
  542. Why does mgetty only send raw G3 fax files, instead of converting
  543. arbitrary image files (like TIFF) on the fly?
  544.  
  545. >From Chris Lewis:
  546.  
  547. "As I understand it, in addition to its own formats, TIFF can encapsulate
  548. some number of other formats.  Put another way, TIFF is, at least to some
  549. extent, simply a way of getting magic numbers into other formats so that
  550. TIFF-capable converters can handle multiple formats transparently.
  551.  
  552. "Yes, you certainly can have TIFF encapsulate a G3, and mgetty wouldn't
  553. have much trouble with that.  However, that leaves you with the question -
  554. what does mgetty do if it's not a G3 that's been encapsulated?  It
  555. would have to convert it.  And then we would encounter situations where
  556. mgetty's conversion speeds couldn't meet the class II FAX transmission
  557. timeouts, and you've wasted telephone time...  Ditto on reception.  Indeed,
  558. there is a real possibility that mgetty would not be able to keep up
  559. if the input or output file was anything other than a G3.
  560.  
  561. "Approaching this from another viewpoint, we should also remember that
  562. mgetty is a transfer protocol and implementation.  *Not* conversion
  563. software.  mgetty needs to read and write G3s, and that's all.  Leave
  564. conversions to other software."
  565.  
  566. And from Gert Doering:
  567.  
  568. "Well, TIFF is a very complex file format, that can support dozens of
  569. different page data encodings, different byte / bit orderings,
  570. multiple pages per file, and so on.  While TIFF is a flexible format,
  571. parsing it is a complex task.
  572.  
  573. "In contrast, mgetty's "g3" files are raw G3 data. No headers, no
  574. formatting, no need for the transmission code to dig around in the file
  575. to find the actual page data.  One page per file, simplest possible.
  576.  
  577. "Ignoring TIFF (leaving TIFF conversions to outside software)
  578. simplifies mgetty and sendfax enormously, but doesn't complicate the
  579. user interface much, as long as "faxspool" or similar tools are used
  580. that will hide the internals, that is, how the fax backend expect its
  581. data, from the user. To be precise, leaving out TIFF support
  582. *simplifies* mgetty.  Many Unix programs can read pbm and converting
  583. g3 -> pbm is very easy, while I haven't seen a good *multipage*-Tiff -
  584. to - PBM converter yet."
  585.  
  586. ------------------------------
  587.  
  588. Subject:  Why doesn't mgetty use the modem's autoanswer capabilities?
  589.  
  590. 1. Because it isn't possible to distinguish a fax from a data call if you
  591. don't have full modem control. Besides, it will make sure that the modem
  592. doesn't answer the phone while the host isn't ready for it.
  593.  
  594. 2. And callerid won't work without extreme difficulty.
  595.  
  596. ------------------------------
  597.  
  598. Subject:  Why mgetty ignores /dev/tty* dialin, /dev/cua* dialout conventions:
  599.  
  600. >From gert@greenie.muc.de (Gert Doering):
  601.  
  602. The two-device scheme is meant to prevent multiple processes from
  603. accessing the same physical device at the same time. Since mgetty
  604. opens the port with O_NDELAY, the kernel sees a process on tty*
  605. (mgetty) and prevents any open() on cua* (uucico, cu, ...).  So, you
  606. have to use the same device for both program types; under Linux,
  607. that's tty*, and under SunOS & Solaris that's cua*.
  608.  
  609. >From rj@rainbow.in-berlin.de (Robert Joop):
  610.  
  611. Under Sun's OS, if the computer is down or /dev/ttya isn't opened, DTR
  612. isn't asserted and the modem won't pick up.  The kernel lets an
  613. open(2) call to /dev/ttya return only when DCD becomes active and cua0
  614. isn't being used.
  615.  
  616. For the reason explained by Gert, mgetty takes over the task of the
  617. sun kernel and has to use /dev/cua?.  To avoid collisions with
  618. dial-out programs, it follows uucp locking conventions.
  619.  
  620. The relevant lines from a Sun /etc/ttytab:
  621. #ttya   "/usr/etc/getty zyxel.38400"    vt100         on  # modem line
  622. cua0    "/usr/local/bin/vgetty -n 6 -x 9 cua0"  vt100 off # modem line
  623.  
  624. This all applies to sunos4/solaris1, sunos5/solaris2 probably differs
  625. substantially.
  626.  
  627. ------------------------------
  628.  
  629. Subject:  Troubleshooting questions & answers
  630. From: gert@greenie.muc.de
  631.  
  632. Q: I keep getting the error code +FHNG:50 or +FHNG:54 after sending a
  633.    page. Sometimes it says "page bad, retrain requested" and infinitely
  634.    resends the page.
  635.  
  636. A: This error means that something went wrong between the two machines,
  637.    while your end was sending the page data. In the case of +FHNG:50 or
  638.    +FHNG:54, the other end most likely simply hung up (so your modem
  639.    couldn't get any page transfer status at all), in the other case, the
  640.    receiver complained that it didn't like the data on the page.
  641.  
  642.    The most common reason for this behaviour is that you used a copy
  643.    of ``pbmtog3'' that came from the ``pbmplus'' distribution and doesn't
  644.    have my patch included (Mind you, the pbmtog3 program is required for
  645.    the page headers that faxspool puts on top of each page!).
  646.  
  647.    If that is not the reason, there may be flow control problems, or the
  648.    line have simply has been very noisy, or so. Get in touch with the
  649.    receiver, and find out whether the page looks good or whether there are
  650.    lines missing, others corrupted, ... - if there are errors, check your
  651.    flow control setting.
  652.  
  653.    If there are no errors whatsoever, and you're sure that you use my
  654.    version of pbmtog3 or a patched version of pbmplus', then I'm out of
  655.    wits - something's broken in the modem. Maybe you should upgrade your
  656.    ROM version.
  657.  
  658.  
  659. Q: When receiving faxes, I get the +FCON message logged, then mgetty says
  660.    "starting fax receiver". fax_wait_for(OK) is called, logs some random
  661.    junk bytes, and gives up after a minute, complaining about "timeout".
  662.  
  663. A: Most likely, you have a modem that switches baud rate to 19200 bps
  664.    right after sending the +FCON message to the host, and the normal port
  665.    speed is something else. Check policy.h whether FAX_RECEIVE_USE_B19200
  666.    is defined, and change the setting (if the modem does *not* change
  667.    speed, but the define is *set*, the effect will be similar).
  668.  
  669.  
  670. Q: I keep changing values in policy.h, but nothing changes.
  671.  
  672. A: maybe you've had an older version of mgetty installed to
  673.    /usr/local/bin/mgetty and are calling this from /etc/init? Newer
  674.    versions are installed in /usr/local/sbin/mgetty. Check the time
  675.    stamp on the mgetty you just compiled vs. the mgetty listed in
  676.    /etc/inittab.
  677.  
  678.  
  679. Q: Half of the faxes that I receive are too short, they look as if every
  680.    second pixel line is missing.
  681.  
  682. A: Well, they *are* short: most likely, they are received in normal
  683.    resolution (204x98 dpi) instead of fine resolution (204x196 dpi). You
  684.    can see it in the filename, if it starts with "ff*", it's fine, if it
  685.    starts with "fn*", it's normal resolution. To ``stretch'' a normal
  686.    resolution fax to proper proportions, use ``g3topbm -stretch fn...''
  687.  
  688.  
  689. Q: when upgrading from mgetty 0.19 (or before) to mgetty 0.20, my
  690.    ``mgetty.login'' configuration file doesn't work anymore.
  691.  
  692. A: Yes, the format has changed. Because of this, and to avoid confusions,
  693.    I'v renamed the LOGIN_CFG_FILE to ``login.config''. Read the sample
  694.    file that I provide for explantations how the configuration works.
  695.  
  696.    Do not fiddle with the ``uid'' and ``utmp'' fields unless you
  697.    understand what they're for.
  698.  
  699.  
  700. Q: login complains with ``no utmp entry, must execute login from the
  701.    lowest level sh''
  702.  
  703. A: I *told* you not to fiddle with the ``utmp'' field... - most likely,
  704.    in your ``login.config'' file, the utmp field for the entry calling
  705.    /bin/login isn't "-".
  706.  
  707.    Another reason could be a faulty /etc/init (hits only Linux users) or a
  708.    corrupted /etc/utmp file. In that case, reboot your machine.
  709.  
  710. Q: When mgetty is running and I dial out, I do not get "CONNECT" but only
  711.    junk, as "+FCO", "+FTI:", "+FHS:20"
  712.  
  713. A: Well, yes, that's a problem with the 2.0 implementation in mgetty. That
  714.    is: while mgetty is running, the modem is in "AT+FCLASS=2.0" mode and
  715.    expects to connect to a fax on the remote side. (With class 2, we
  716.    worked around this by setting +FCLASS=0;+FAA=1, but that will make the
  717.    modem answer in class 2, not 2.0 [subject to further testing!])
  718.  
  719.    Solution: in the program dialing out, initialize the modem with
  720.    "AT+FCLASS=0".  Most likely, a modem reset (ATZ) will also help.
  721.  
  722. Q: vgetty and zplay don't work, I can't record or play back messages.
  723.    I'm using mgetty 0.20 and ZyXEL 6.10 ROMs, the log file shows that
  724.    `+VIT=60' produces `no carrier'.
  725.  
  726. A: (Klaus Weidner, klaus@snarc.greenie.muc.de): My fault, I'm
  727.    sorry. `+VIT=60' is only supported by ROMs >=6.11.  Please remove
  728.    it from the two places it occurs in voclib.c, or get the latest
  729.    test release from ftp.informatik.tu-muenchen.de:/tmp, or get 6.12
  730.    ROMs.
  731.  
  732. Q: every time mgetty starts up, the permissions of my tty device get
  733.    changed and I have to issue "chmod +w /dev/ttySx" to be able to
  734.    dial out.
  735.  
  736. A: that's not a bug, that's a feature. You don't *want* to allow anybody
  737.    using your machine to be able to dial out (think of your phone costs!),
  738.    so it's a security issue.
  739.    If you *want* to allow dialout for everyone, #define FILE_MODE 0666
  740.    in policy.h. I would not recommend it, I would give access to a
  741.    special group, and put every one that may dial out into this group.
  742.  
  743. Q: I have a Linux system, and while trying to dial out on /dev/cua1
  744.    (mgetty is running on /dev/ttyS1), it says "device busy" (EBUSY)???
  745.  
  746. A: use the same device (always!!) for dial-in and dial-out.
  747.    On Linux, use /dev/ttySx, on SunOS and *BSD use /dev/cuax.
  748.  
  749. Q: If I create a fax file with "gs -sDEVICE=dfaxhigh ..." and send it with
  750.    sendfax, everything works *great*. If I run it through "faxspool", the
  751.    receiving side reports an error. Is the "g3cat" program broken?
  752.  
  753. A: No, g3cat isn't the problem. The real problem is "pbmtog3", and I bet
  754.    you have the pbmtog3 program from the pbmplus distribution installed.
  755.    This program is *broken* (patch is in mgetty/patches/pbmtog3.p1), that
  756.    is, it doesn't create proper T.4/G3 fax data. Thus, the receiving fax
  757.    machine will get a fax that has some corrupt lines (the page header)
  758.    and will complain about it.
  759.    Patch pbmtog3, or use mgetty's. It's faster anyway.
  760.  
  761. Q: mgetty doesn't accept FidoNet calls. I get log entries like this:
  762.  
  763.      10/30 01:54:54 ##### data dev=ttyS1, pid=3401, caller=none,
  764.      conn='38400/V32b 14400/V42b', name='', cmd='/bin/login',
  765.      user='**EMSI_INQC816**EMSI_INQC816q.'
  766.  
  767.    or this:
  768.  
  769.      10/30 05:31:03 ##### data dev=ttyS1, pid=7238, caller=none,
  770.      conn='38400/ZyX  16800/V42b', name='', cmd='/bin/login', user='q.q.q.'
  771.  
  772. A: did you compile mgetty with -DFIDO defined? I don't think so. If
  773.    -DFIDO isn't set, mgetty doesn't know about fido.
  774.  
  775. Q: Some of my programs use binary lockfiles and some use ASCII
  776.    lockfiles.  Why does mgetty complain?  Can't it recognize both?
  777.  
  778. A: Mgetty complains because your system configuration is _wrong_.
  779.    These error messages are there to help the system administrator
  780.    notice a *severe configuration error* on his site.
  781.  
  782.    If all programs would understand both types of Locking, the
  783.    messages would be silly, but since kermit usually simply ignores
  784.    ascii locks, and uucico does so for binary locks, the situation is
  785.    *highly* error-prone, and sysadmins should *SEE* this.
  786.  
  787.    Recompile your applications that use the modem so that all agree on
  788.    the lockfile types.
  789.  
  790. ------------------------------
  791.  
  792. Subject:  My ZyXEL doesn't work right after a ROM upgrade: What's wrong?
  793. From: felix@escape.vsse.in-berlin.de
  794.  
  795. Do a full modem reset after upgrading the firmware. This is not
  796. described in the German ZyXEL manual (is it described in the
  797. English one?) but should be done in any case.
  798.  
  799. ------------------------------
  800.  
  801. Subject: Why the occasional "tcsetattr failed: I/O error" message?
  802. From: gert@greenie.muc.de
  803.  
  804. Q: Occasionally, mainly after "clean" user logouts (that is, the user
  805.    typed "exit" instead of just hanging up), I get the message
  806.     09/08 21:26:26 yS2  lowering DTR to reset Modem
  807.     09/08 21:26:27 yS2  tcsetattr failed: I/O error
  808.    in the mgetty log file, and a similar I/O error message in the syslog
  809.    file.
  810.  
  811. A: Well, this is a Linux and SunOS specific problem: if the modem is still
  812.    connected to the other end when mgetty starts, mgetty will force it to
  813.    hangup by lowering DTR (and sending +++ATH, in case DTR drop won't
  814.    suffice).  This will make the modem lower the DCD (carrier detect)
  815.    line.  Unfortunately, this will trigger a security mechanism in the
  816.    Linux kernel, which will prevent all further access via that file
  817.    descriptor.  This is done to prevent one well-known password hack
  818.    (I won't that explain in detail).
  819.  
  820.    Mgetty knows about that problem, and, upon noticing an error at this
  821.    point during modem initialization, will simply reopen the port and
  822.    redo all modem / port setup stuff.
  823.  
  824.    Because suppressing that error message would be messy, it keeps
  825.    appearing, but it is harmless (... "trying again").
  826.  
  827. ------------------------------
  828.  
  829. Subject: Part 3: Compatibility Issues
  830.  
  831. ------------------------------
  832.  
  833. Subject:  modems.db -- modem compatibility list
  834. From: gert@greenie.muc.de
  835.  
  836. OK, here's the current (22 June 1994) modems.db:
  837. ----------------------------------------------------
  838. Modem brand/model:     "Dynalink 9624AP"
  839. at+fmfr?        EXAR
  840. at+fmdl?        9648,2,E,290X
  841. at+frev?        10, 10, 92   REVISION  X 2.0
  842. ati3            ADN-06
  843. ati4            MARROW 2900KSX V2.0B 11-05-1992
  844. tested on:        linux 0.99p10
  845. working:        sendfax, mgetty(?)
  846. remarks: avoid this cheap and nasty modem if you possibly can. It needs:
  847.          delay(500) at the end of fax_open_device(), sendfax.c line 111
  848.          delay(500) after the call to fax_send_page(), sendfax.c line 533
  849.          "\d\d\d" in all the AT-commands in init_chat_seq, mgetty.c
  850. contributor:        a.j.scholl@durham.ac.uk
  851. #define DATA_FLOW    FLOW_HARD
  852. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  853. #define FAXSEND_FLOW    FLOW_HARD 
  854. #define FAX_SEND_BAUD     B19200
  855. #define FAX_MODEM_HANDSHAKE ""
  856. #define FAX_SET_CSTOPB    1        /* for when you've added this option :-) */
  857. ----------------------------------------------------
  858. Modem brand/model:     "Zoltrix Platinum Series 14.4"
  859. at+fmfr?        ROCKWELL
  860. at+fmdl?        RC32ACL
  861. at+frev?        V1.410-AP39
  862. ati3            
  863. ati6            RCV144DP; Rev CA
  864. tested on:        linux 0.99p7
  865. working:        mgetty, sendfax
  866. remarks:                great modem! In my uucp network of 16 machines,
  867.             this modem averages at 1700 bps, while other
  868.             brand name modems such as the Trailblazer PEP
  869.             maxes out at about 1570. 
  870. contributor:        whome!light-house!las@planix.com
  871. #define DATA_FLOW    FLOW_HARD
  872. #define FAX_COMMAND_DELAY 50
  873. #define FAXREC_FLOW    FLOW_SOFT
  874. #define FAXSEND_FLOW    FLOW_SOFT
  875. #define FAX_SEND_BAUD B38400
  876. #define FAX_MODEM_HANDSHAKE "&K3"
  877. #define MODEM_INIT_STRING    "ATS0=0V1Q0&D3&K3%C1W1"
  878. ----------------------------------------------------
  879. Modem brand/model:      PCMCIA Modem HOTLINE 960 CC HL9672CC
  880. AT+FMFR?                HOTLINE
  881. AT+FMDL?                Handy 9672 CC
  882. AT+FREV?                Version 1.03H
  883. ATI3                    V1.03DP
  884. ATI4                    Handy 9672 CC H1_103
  885. AT+FDCC=?               (0,1),(0-3),(0-2),(0-2),(0,1),0,0,(0-7)
  886. tested on:              OS: Linux, Kernel: 1.0, Distribution: Slackware 1.2.0
  887.             Computer: Toshiba T4700C Notebook
  888. working:                sendfax, mgetty
  889. contributor:            lauther@zfe.siemens.de
  890. remarks:                can only do 9600 bps
  891.  
  892. #define DEFAULT_PORTSPEED       B19200
  893. #define MODEM_INIT_STRING       "ATS0=0Q0&D3&K3"
  894. #define MODEM_CMD_SUFFIX        "\r"
  895. #define DO_CHAT_SEND_DELAY      50
  896. #define FAX_COMMAND_DELAY       50
  897. #define DATA_FLOW               FLOW_HARD
  898. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  899. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  900. #define FAX_SEND_BAUD           B19200
  901. #define FAX_MODEM_HANDSHAKE     "&K3"
  902. ----------------------------------------------------
  903. Modem brand/model:      Creatix (1&1) Polimedia 14400 voice / fax modem
  904. AT+FMFR?                ???
  905. AT+FMDL?                ???
  906. AT+FREV?                ???
  907. ATI0            14400
  908. ATI1            007
  909. ATI3            V1.400/T4-DS29F
  910. ATI4            Creatix Polymedia GmbH V1.41 29/11/93
  911. ATI6            RCV144DPi Rev CA
  912. AT+FDCC=?               (0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)
  913. tested on:              ???
  914. working:                sendfax, mgetty
  915. contributor:            andreas@malcolm.in-chemnitz.de
  916.  
  917. #define DEFAULT_PORTSPEED    B38400
  918. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&K3"
  919. #define MODEM_CMD_SUFFIX    "\r"
  920. #define DO_CHAT_SEND_DELAY    50
  921. #define FAX_COMMAND_DELAY    50
  922. #define DATA_FLOW           FLOW_HARD
  923. #define FAXREC_FLOW         FLOW_HARD | FLOW_SOFT
  924. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  925. #define FAX_RECEIVE_USE_B19200
  926. #define FAX_SEND_BAUD         B19200
  927. #define FAX_MODEM_HANDSHAKE    "&K6"
  928. ----------------------------------------------------
  929. Modem brand/model:      Practical Peripherals PM14400FXMT
  930. at+fmfr?                2.42 (c) Practical Peripherals Inc. 1993.
  931. at+fmdl?                PM14400FMXT [6R4] 2.42
  932. at+frev?                Version 2.42
  933. ati3                    PM14400FMXT [6R4] Version 2.42 (c) Practical Peripherals Inc. 1993.
  934. ati4                    a097840F284C6703F
  935.                         bC60004000
  936.                         r1001111171012000
  937.                         r3000111010000000
  938. tested on:              Linux 1.0 (Slackware 1.2.0)
  939. working:                sendfax, mgetty
  940. remarks:                Good modem; can handle ALL incoming data calls at all
  941.                         speeds, plus *MOST* incoming FAXes (some paper
  942.                         machines give +FHNG:100 @ 2400 baud).  Good manual,
  943.                         but (like others, no +F commands listed.  My guess is
  944.                         about 75% Class 2 commands implemented.
  945. contributor:            paul@edgewood.portland.or.us
  946. #define DEFAULT_PORTSPEED       B38400 /* 57600 w/ 'setserial spd_hi' */
  947. #define FAX_RECEIVE_USE_19200
  948. #define FAX_SEND_BAUD           B19200
  949. #define DATA_FLOW               FLOW_HARD
  950. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  951. #define FAXSEND_FLOW            FLOW_HARD | FLOW_SOFT
  952. #define FAX_MODEM_HANDSHAKE ""
  953. #define MODEM_INIT_STRING       "\\dATM0S0=0Q0&C1&D2&K3&Q5"
  954. ---------------------------------------------------
  955. Modem brand/model:      "ZyXEL 1496 E+"
  956. at+fmfr?                ZyXEL
  957. at+fmdl?                U1496E  V 6.12 P
  958. at+frev?                U1496E  V 6.12 P
  959. ati            1496
  960.  
  961. tested on:              DEC OSF/1 v1.2-hybrid
  962.             SCO Unix ODT 3.0
  963.             Linux (various)
  964. working:                sendfax, mgetty, vgetty
  965. contributor:            Marc@Synergytics.Com
  966. #define DATA_FLOW       FLOW_HARD
  967. #define FAXREC_FLOW     FLOW_HARD | FLOW_SOFT
  968. #define FAXSEND_FLOW    FLOW_HARD | FLOW_SOFT
  969. #define FAX_SEND_BAUD   B38400
  970. #define FAX_MODEM_HANDSHAKE "&H3"
  971. #define MODEM_INIT_STRING "ATS0=0Q0&D3&H3&N0&K4"
  972. ---------------------------------------------------
  973. Modem brand/model:      ZyXEL U1496EG+ 
  974. AT+FMFR?                ZyXEL
  975. AT+FMDL?                U1496EG V 6.12 P 
  976. AT+FREV?        U1496EG V 6.12 P 
  977. ATI3            (OK)
  978. ATI4                    (OK)
  979. AT+FDCC=?         (0,1),(0-5),(0-2),(0-2),(0-1),(0),(0),(0-7)
  980. tested on:              AIX 3.2.5
  981. working:                sendfax, mgetty (both 0.20)
  982. contributor:            hm@ix.de
  983. remarks:                
  984.  
  985. #define DEFAULT_PORTSPEED       B38400
  986. #define MODEM_INIT_STRING       "ATL0S0=0Q0&D3&H3&N0&K4"
  987. #define MODEM_CMD_SUFFIX        "\r"
  988. #define DO_CHAT_SEND_DELAY      50
  989. #define FAX_COMMAND_DELAY       50
  990. #define DATA_FLOW               FLOW_HARD
  991. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  992. #define FAXSEND_FLOW            FLOW_SOFT
  993. #define FAX_SEND_BAUD           B38400
  994. #define FAX_MODEM_HANDSHAKE     "&K3"
  995.  
  996. ---------------------------------------------------
  997.  
  998. Modem brand/model:      GVC GM-144VBIS+
  999. AT+FMFR?                EXAR
  1000. AT+FMDL?                9648,2,E,290X
  1001. AT+FREV?        GM-144VBIS+; RC9696/14
  1002. ATI3            170
  1003. ATI4                    GM-144VBIS+; RC9696/14
  1004. AT+FDCC=?         (0-1),(0-3),(0-3),(0-2),(0-2),(0),(0),(0-7)
  1005. tested on:              AIX 3.2.5
  1006. working:                mgetty-0.20 
  1007. contributor:            hm@ix.de
  1008. remarks:                (sendfax is not tested and not intended to)
  1009.  
  1010. #define DEFAULT_PORTSPEED       B38400
  1011. #define MODEM_INIT_STRING       "ATL0S0=0Q0&D3\\\\Q3&S0%C\\\\N6"
  1012. #define MODEM_CMD_SUFFIX        "\r"
  1013. #define DO_CHAT_SEND_DELAY      50
  1014. #define FAX_COMMAND_DELAY       50
  1015. #define DATA_FLOW               FLOW_HARD
  1016. #define FAXREC_FLOW             FLOW_HARD | FLOW_SOFT
  1017. #define FAXSEND_FLOW            FLOW_SOFT
  1018. #define FAX_SEND_BAUD           B38400
  1019. #define FAX_MODEM_HANDSHAKE     "\\\\Q3&S0"
  1020.  
  1021. ----------------------------------------------------
  1022. Modem brand/model:     "Aceex 1496"
  1023. at+fmfr?        EXAR
  1024. at+fmdl?        9624,2,E,290E
  1025. at+frev?        Sep-24-1991
  1026. ati3            
  1027. ati6            V.110 APR-30-1993 (ROCKWELL CHIP SET)
  1028.             DM1414/2A/RC144DP-21/PCB:490-09636-xx
  1029.             BZT POSTZULASSUNG-FIRMWARE VERSION:V.105
  1030. tested on:        SVR4.2 (UnixWare 1.1.1)
  1031. working:        mgetty, sendfax
  1032. remarks:                fax send / receive with max. 19200 bd
  1033.             This german telekom approved modem doesn't allow
  1034.             ATA without an incoming call (real RING). So
  1035.             kill -USR1 <mgetty-pid>  doesn't work. 
  1036. contributor:        100272.3376@compuserve.com (Achim Buerger)
  1037. #define DATA_FLOW    FLOW_HARD
  1038. #define FAX_COMMAND_DELAY 50
  1039. #define FAXREC_FLOW    FLOW_HARD | FLOW_SOFT
  1040. #define FAXSEND_FLOW    FLOW_HARD | FLOW_SOFT
  1041. #define DEFAULT_PORTSPEED B19200
  1042. #define FAX_SEND_BAUD    B19200
  1043. #define FAX_MODEM_HANDSHAKE    "\\Q3&S0"
  1044. #define MODEM_INIT_STRING    "ATS0=0Q0&D3\\\\Q3%C1&N0&K3"
  1045. ----------------------------------------------------
  1046. Modem brand/model:      "Dago Speed" from Speedy Technology, Koenigstein
  1047. at+fmfr?                ROCKWELL
  1048. at+fmdl?                RC32AC-W
  1049. at+frev?                V1.15
  1050. ati3                    V1.15
  1051. ati4                    RC144DP
  1052. tested on:              linux 0.99p15, 486DX50, UART 16550A
  1053. mgetty version:         0.21
  1054. working:                sendfax, mgetty
  1055. remarks:                sendfax: works perfectly (about 50 multi-page
  1056.                         faxes sent without problems)
  1057.                         mgetty: my Dago does not always recognize
  1058.                         fax calls correctly, especially from some fax
  1059.                         machines, but fax calls from a Creatix modem
  1060.                         are *almost* always recognized correctly.
  1061.                         When a fax call is recognized correctly, mgetty
  1062.                         has no problems. Defining FAX_RECEIVE_USE_B19200
  1063.                         is necessary with my modem version.
  1064.                         Data calls are always recognized correctly
  1065.                         (tested with Creatix and Zyxel).
  1066. contributor:            schaefer@dfki.uni-sb.de (Ulrich Schaefer)
  1067. #define DEFAULT_PORTSPEED       B38400
  1068. #define DATA_FLOW               FLOW_HARD
  1069. #define FAXREC_FLOW             FLOW_HARD
  1070. #define FAXSEND_FLOW            FLOW_HARD
  1071. #define DO_CHAT_SEND_DELAY      100
  1072. #define FAX_COMMAND_DELAY       100
  1073. #define FAX_RECEIVE_USE_B19200
  1074. #define FAX_SEND_BAUD           B38400
  1075. #define FAX_MODEM_HANDSHAKE     "&K3"
  1076. #define MODEM_INIT_STRING       "ATS0=0V1Q0&D3&K3"
  1077.  
  1078. mgetty.c:  int toggle_dtr_waittime = 2000;   /* otherwise reset may fail */
  1079. -----------------------------------------------------------------------
  1080.  
  1081. Modem: SupraFax v.32bis
  1082. System Decstation 5000/200
  1083. OS:  Ultrix V4.2 (Rev. 96)
  1084.  
  1085.  
  1086. #define DEFAULT_PORTSPEED       B38400
  1087. #define MODEM_INIT_STRING  "AT&F2M0L0S0=0V1Q0&D3&K3%C1W1"
  1088. #define DEFAULT_MODEMTYPE "auto"
  1089. #define DO_CHAT_SEND_DELAY 50
  1090. #define FAX_COMMAND_DELAY 50
  1091. #define DATA_FLOW       FLOW_HARD
  1092. #define FAXREC_FLOW       FLOW_SOFT
  1093. #define FAXSEND_FLOW      FLOW_SOFT
  1094. #define FAX_RECEIVE_USE_B19200
  1095. #define FAX_SEND_BAUD B19200
  1096. #define FAX_MODEM_HANDSHAKE "&K4"
  1097. #define FAX_SEND_IGNORE_CARRIER
  1098. at+fmfr? ROCKWELL
  1099. at+fmdl? V.32AC
  1100. at+frev? V1.71-02 TR14-Jxxx-001
  1101. ati3  V1.71-02 TR14-Jxxx-001 225
  1102. ati5 (c) 1992,93 Supra Corporation
  1103. -----------------------------------------------------------------------
  1104. Modem brand/model:    Holmes Fax'em 96/24
  1105. AT+FMFR?        EXAR
  1106. AT+FMDL?          9648,2,E,290X
  1107. AT+FREV?          9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1108. ATI3             9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1109. ATI4             9/30/91 9.10 E  + V.23 REVISION 2.1D3
  1110. AT+FDCC=?          (0,1),(0-3),(0-3),(0-2),(0-2),(0),(0),(0-7)
  1111. tested on:        OS: Linux, Kernel: 0.99pl13, Distribution: Slackware 1.1.2
  1112.             Computer: Compaq LTE Lite/25c Notebook
  1113. remarks:        introduce additional delays as mentioned in the
  1114.             mgetty-documentation
  1115. working:            sendfax, mgetty
  1116. contributor:        lauther@zfe.siemens.de
  1117. #define DEFAULT_PORTSPEED    B19200
  1118. #define MODEM_INIT_STRING    "ATS0=0Q0&D3&H3&N0&K4"
  1119. #define MODEM_CMD_SUFFIX     "\r"
  1120. #define DO_CHAT_SEND_DELAY     50
  1121. #define FAX_COMMAND_DELAY     50
  1122. #define DATA_FLOW        FLOW_HARD
  1123. #define FAXREC_FLOW        FLOW_HARD | FLOW_SOFT
  1124. #define FAXSEND_FLOW        FLOW_HARD | FLOW_SOFT
  1125. #define FAX_SEND_BAUD       B19200
  1126. #define FAX_MODEM_HANDSHAKE     ""
  1127. -----------------------------------------------------------------------
  1128.  
  1129. ------------------------------
  1130.  
  1131. Subject:  Suspicious fax machines
  1132. From: hm@ix.de (Harald Milz)
  1133.  
  1134. I'm collecting all data concerning suspective fax
  1135. machines, i.e. those which made problems in cooperating
  1136. with sendfax. The main reason is to find out whether
  1137. there are specific fax machines that refuse to work
  1138. with sendfax and/or your fax modem. As a goal, we will
  1139. be able to track down the bug(s). 
  1140.  
  1141. To contribute, please fill in the following template
  1142. and send it to me (hm@ix.de):
  1143.  
  1144. 1. <fax machine's brand and model>
  1145. 2. <corresponding fax number> (optional)
  1146. 3. <fax modem brand and model>
  1147. 4. <fax modem's firmware revision>      # tbd from ATI1
  1148. 5. <protocol parameters>        # tbd from Faxlog
  1149. 6. <errlog line from Faxlog>        # tbd from Faxlog
  1150. 7. <remarks>
  1151.  
  1152. If you encounter problems with a fax machine, please
  1153. call the receiving party and ask them for their fax
  1154. machine's brand & model and if they are willing to
  1155. offer their machine for some (limited) testing. 
  1156.  
  1157. The more exact your data is (the first 3 entries aren't
  1158. too good :-} ), the better the result will be,
  1159. hopefully.
  1160.  
  1161. This list is posted once a month (automatically) and if
  1162. five new entries were added to it (manually).
  1163.  
  1164. Here's what's already in the list:
  1165.  
  1166.  
  1167.  
  1168. 1. Panasonic Panafax UF311
  1169. 2. +49 89 74824899
  1170. 3. ZyXEL U1496EG+
  1171. 4. U1496EG V 6.10g P
  1172. 5. +FDCS:1,3,0,2,0,0,0,4
  1173. 6. +FHNG:50 (Unspecified Transmit Phase D error)
  1174. 7. when sending 15 pg, connection broke after 6 pg. 
  1175.  
  1176.  
  1177. 1. NEC Nefax 17
  1178. 2. +49 2242 82114
  1179. 3. ZyXEL U1496EG+
  1180. 4. U1496EG V 6.10g P
  1181. 5. +FDCS:1,3,0,2,1,0,0,4
  1182. 6. +FHNG:50 (Unspecified Transmit Phase D error)
  1183. 7. machine didn't refuse when sending only 3 pages
  1184.    earlier. This time, 15 pg were sent.
  1185.  
  1186.  
  1187. 1. Telekom AF-310
  1188. 2. +49 7231 560851
  1189. 3. ZyXEL U1496 E / 6.10a, E+ / 6.01, E+ / 6.11a
  1190. 4. 
  1191. 5. +FDCS:1,3,0,2,0,0,0,4
  1192. 6. +FTPS:2 -> page bad, retrain requested
  1193. 7. sendfax hangs up after three tries.
  1194.    received fax shows black and white boxes at the
  1195.    footer, such as,
  1196.    ###   ###   ###   ###   ###
  1197.    ###   ###   ###   ###   ###  ...
  1198.    ###   ###   ###   ###   ###
  1199.  
  1200. -- 
  1201. Chris Lewis: _Una confibula non sat est_
  1202. Phone: Canada 613 832-0541
  1203. Latest psroff: FTP://ftp.uunet.ca/distrib/chris_lewis/psroff3.0pl17/*
  1204. Latest hp2pbm: FTP://ftp.uunet.ca/distrib/chris_lewis/hp2pbm/*
  1205.